package com.efast.dmom.mgmt.dao.excel;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.efast.dmom.mgmt.bean.excel.BarcodeRuleBean;

public interface AssociatedTableExcelFileImportDao {

	//首先判断编码名称与规则描述在数据库表中是否存在
	public BarcodeRuleBean judgeRuleNameIsExit(@Param("ruleName") String ruleName);

	public List<BarcodeRuleBean> selectbarcodeRuleItem(@Param("ruleId") Integer ruleId);

	//向源码规则Item里面插入数据
	public void insertBarcodeRuleItem(BarcodeRuleBean barcodeRuleBean);

	//向源码规则中插入数据
	public void insertBarcodeRule(BarcodeRuleBean barcodeRuleBean);

	//向源码规则报错表中插入数据
	public void insertBarcodeRuleErrorInfo(@Param("list") List<BarcodeRuleBean> list);

	//清除源码规则报错表
	public void deleteBarcodeRuleErrorInfo();

}
